﻿Public Class FormMain

    Private Sub អតថជនToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles អតថជនToolStripMenuItem.Click

        FormCustomer.MdiParent = Me
        FormCustomer.Show()
        product.Close()
        FormVendor.Close()
    End Sub

    Private Sub អនកលកToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles អនកលកToolStripMenuItem.Click
        FormVendor.MdiParent = Me
        FormVendor.WindowState = FormWindowState.Maximized
        FormVendor.Show()
        product.Close()
        FormCustomer.Close()
    End Sub

    Private Sub ទនញToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ទនញToolStripMenuItem.Click
        product.MdiParent = Me
        product.WindowState = FormWindowState.Maximized
        product.Show()
        FormVendor.Close()
        FormCustomer.Close()
    End Sub

    Private Sub ករមទនញToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ករមទនញToolStripMenuItem.Click
        frmcategory.MdiParent = Me
        frmcategory.WindowState = FormWindowState.Maximized
        frmcategory.Show()
        FormVendor.Close()
        FormCustomer.Close()
    End Sub

    Private Sub គរបគរងToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles គរបគរងToolStripMenuItem.Click

    End Sub

    Private Sub បរភទទនញToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles បរភទទនញToolStripMenuItem.Click
        frmType.MdiParent = Me
        frmType.WindowState = FormWindowState.Maximized
        frmType.Show()
        FormVendor.Close()
        FormCustomer.Close()
    End Sub
End Class